export const ztableData = [
  {date: '1', company: '集团'},
  {date: '2', company: '分公司'},
  {date: '3', company: '子公司'}
]
// 0.待关联，1.确认关联，2.取消关联，3.解除关联
const relationType = {
  0: '待关联',
  1: '已关联',
  2: '已取消',
  3: '已解除'
}
// 表头定义
export const orgainzationColumns = [
  {type: 'index', label: '序号', width: '60'},
  {
    prop: 'companyName',
    label: '公司名称',
    'min-width': '300',
    'show-overflow-tooltip': true
  },
  {
    prop: 'childrenCompanyName',
    label: '关联公司',
    'min-width': '300',
    'show-overflow-tooltip': true
  },
  {
    width: '120',
    prop: 'relationTypeStr',
    label: '关系'
  },
  {
    width: '120',
    prop: 'relationStatus',
    label: '关联状态',
    formatter: row => relationType[row.relationStatus] || ''
  },
  {prop: 'operation', label: '操作', fixed: 'right', width: '180'}
]
